{% extends "base.html" %}
{% load i18n %}
{% block pageContent %}
	<p>{% trans "Sorry, but we can not loop the requested video. Because:" %}</p>
{% if not videoFound %}
	<ul>
		<li>{% trans "The video has been removed or disabled." %}</li>
	</ul>
{% else %}
	<ul>
		<li>{% trans "Embedding of this video has been disabled." %}</li>
	</ul>
	<h3 class="red">{% trans "What does this mean?" %}</h3>
	<ul>
		<li>{% trans "The publisher of this video does not allow this video to be embedded outside YouTube, so LoopTube can't access the video." %}</li>
		<li>{% trans "You can try these videos instead:" %}
		</li>
	</ul>
	<div id="similarVideos">
		<div align="center">
			<img src="/static/images/ajax-loader-big.gif"/>
		</div>
	</div>
{% endif %}
	<p><a href="/">{% trans "Back to LoopTube home page" %}</a></p>

{% if videoFound %}
<script type="text/javascript">
<!--
$(function(){
	$('#similarVideos').load('http://{{ siteHostname }}/search/similar?videoID={{ videoID }}');
});
-->
</script>
{% endif %}

{% endblock pageContent %}